#ifndef _output_h
#define _output_h

#ifdef WIN32
#define err_msg_a "[Error]\t"
#define err_msg_b ", exiting...\n"
#else
#define err_msg_a "\033[31m[Error]\033[0m\t"
#define err_msg_b ", exiting...\n"
#endif

#define put_err_msg(str) puts(err_msg_a str err_msg_b)

#ifdef WIN32
#define wrn_msg_a "[Warning]\t"
#define wrn_msg_b ", exiting...\n"
#else
#define wrn_msg_a "\033[33m[Warning]\033[0m\t"
#define wrn_msg_b "\n"
#endif

#define put_wrn_msg(str) puts(wrn_msg_a str wrn_msg_b)

#endif //_output_h